export const API = {
  user: {
    // 登入
    login: `/user/login`,

    check: `/user/user_auth`,

    // 用户信息
    userinfo: `/user/info`,

    apply: `/user/info`,

    sms: `/user/code`,

    price: `/gift/my`,

    share: `/user/share`,
    /** UserGameEnter(游戏开始接口判断是否能够进入) */
    userGameEnter: '/user/game/enter',
    userUserAccess: '/user/user_access'
  },

  stuff: {
    entire: `/game/props/list`,

    mine: `/game/props/my`,

    share: `/game/share`,

    use: `/game/reward/use`
  },

  team: {
    entire: `/team/list`,

    join: `/team/join`,

    detail: `/team/detail`,
  },


  game: {
    detail: `/activity/detail`,

    share: `/step/share`,

    entire: `/game/list`,

    select: `/game/select`,

    remain: `/game/remain`,

    start: `/user/game/start`,

    finish: `/user/game/end`,
  },

  rank: {
    entire: `/user/rank/list`,

    mine: `/game/record/list`,
  },

  wx: {
    config: `/user/wechat_share_info`
  },

  map: {
    detail: `/activity/maps`
  },

  activity: {
    share: `/activity/share`,

    entire: `/activity/list`,

    status: `/activity/user_process`,

    result: `/team/detail`,

    activation: `/activity/status`,

    pic: `/activity/pic`
  },

  poster: {
    create: `/activity/essay`
  },

  lottery: {
    remain: `/gift/draw_num`,

    entire: `/gift/list`,

    draw: `/gift/draw`
  },

  prize: {
    entire: `/gift/list`,

    receive: `/activity/receive`,

    check: `/game/reward/status`,

    reward: `/game/reward/info`,

    mine: `/gift/my`,

    address: {
      create: `/gift/exchange_info`
    }
  }
}